package org.anjan.dp.decorator.coffeesample;



/**
 * Created by chebbaso on 12/4/14.
 */
public class CoffeeTopping extends ToppingDecorator {

    public CoffeeTopping(Ingredient ingredient) {
        super(ingredient);
    }

    @Override
    public String getDescription() {
        return super.getDescription() + " Coffee Added";
    }

    @Override
    public Double getCost() {
        return super.getCost() + 0.5;
    }
}
